projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42aa745
)
testbaseline: Add a horizontal spinbutton
author
Timm Bäder
<mail@baedert.org>
Tue, 27 Jun 2017 12:36:29 +0000
(14:36 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:14 +0000
(21:27 -0400)
tests/testbaseline.c
patch
|
blob
|
history
diff --git
a/tests/testbaseline.c
b/tests/testbaseline.c
index 5c9b77f5c6e3d7887f8e997fb3255efe0f6cf32a..9dd5358fc884662984608cbf84676dd0c9558c8d 100644
(file)
--- a/
tests/testbaseline.c
+++ b/
tests/testbaseline.c
@@
-133,6
+133,10
@@
main (int argc,
gtk_orientable_set_orientation (GTK_ORIENTABLE (spin), GTK_ORIENTATION_VERTICAL);
gtk_widget_set_valign (spin, aligns[j]);
gtk_container_add (GTK_CONTAINER (hbox), spin);
+
+ spin = gtk_spin_button_new (NULL, 0, 1);
+ gtk_widget_set_valign (spin, aligns[j]);
+ gtk_container_add (GTK_CONTAINER (hbox), spin);
}
grid_hbox = hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);